<?php
$oproxy[0] = "1.2.3.4";
$oport [0] = "8080";
$oproxy[19] = "13.4.5.6";
$oport [19] = "80";
$oproxy[27] = "4.5.6.7";
$oport [27] = "3128";
for($i = 0; $i < count($oproxy); $i++) {
	$good[$i]  = array('proxy' => $oproxy[$i], 'port' => $oport[$i]);
}

 
foreach($good as $i) {
	print_r($i);
}
//print_r($g);
?>